/*
 * @Author: wuyuxin
 * @Date: 2022-04-16 10:42:54
 * @LastEditors: wuyuxin
 * @LastEditTime: 2022-05-05 11:09:42
 * @Description:
 */
import { LoginModuleState } from './loginModule/type'
import { IProductState } from './product/types'
import { IDashboardState } from './analysis/types'
import { ISystemState } from './system/types'
export interface IRootStore {
  name?: string
  age?: number
  entireDepartment: any[]
  entireRole: any[]
  entireMenu: any[]
}

export interface IStoreWithModule {
  loginModule: LoginModuleState
  product: IProductState
  system: ISystemState
  dashboard: IDashboardState
}

export type IStoreType = IRootStore & IStoreWithModule
